WooCommerce\Square\Gateway\Digital_Wallet D

Total Complexity 166
Dependencies 11
Dependents 1
Total lines 992
Lines of code 593
Logical lines of code 305
Comment lines 251
Methods 28
Properties 3

Methods 28

Method Rating Maintainability Complexity Lines of code
get_product_payment_request()
A
43 13 44
apple_pay_domain_registration()
A
50 12 25
ajax_recalculate_totals()
A
41 9 58
allowed_for_product_page()
A
52 11 22
allowed_for_cart()
A
56 10 15
build_payment_request_line_items()
A
45 8 43
is_available()
A
59 10 12
register_apple_pay_domain()
A
49 8 29
ajax_get_payment_request()
A
52 8 21
check_apple_pay_verification_file()
S
51 7 27
build_payment_request()
S
47 6 34
__construct()
S
56 7 15
calculate_shipping()
S
48 5 32
admin_notices()
S
50 5 31
get_current_page()
S
64 7 8
ajax_add_to_cart()
S
54 5 18
get_payment_request_for_context()
S
58 5 16
init()
S
60 4 13
enqueue_scripts()
S
49 3 28
render_button()
S
51 3 27
get_hidden_button_options()
S
67 4 7
get_option_is_apple_pay_enabled()
S
68 4 6
update_shipping_method()
S
65 3 9
ajax_process_checkout()
S
64 3 10
get_cart_totals()
S
61 2 12
supported_product_types()
S
59 1 17
apple_pay_verification_file_location()
S
76 2 3
get_available_pages()
S
65 1 11